import service from '@/utils/request.js'

export const getMusicList = id => {
	return service({
		url: `/playlist/detail?id=${id}`
	})
}

export const getMusicDetail = id => {
	return service({
		url: `/playlist/track/all?id=${id}&limit=20&offset=0`
	})
}

export const getMusicLyric = id  => {
	return service({
		url: `/lyric?id=${id}`
	})
}